package com.qingcheng.service.seckill;
import com.qingcheng.entity.PageResult;
import com.qingcheng.pojo.seckill.SeckillOrder;

import java.util.*;

/**
 * seckillOrder业务逻辑层
 */
public interface SeckillOrderService {


    public List<SeckillOrder> findAll();


    public PageResult<SeckillOrder> findPage(int page, int size);


    public List<SeckillOrder> findList(Map<String,Object> searchMap);


    public PageResult<SeckillOrder> findPage(Map<String,Object> searchMap,int page, int size);


    public SeckillOrder findById(Long id);

    public void add(SeckillOrder seckillOrder);


    public void update(SeckillOrder seckillOrder);


    public void delete(Long id);

}
